package services

import (

)

func GetAllStudent() (error, []models.Student ,int64) {
	err, StudentData ,total := dao.GetAllStudent()
	return err, StudentData, total
}

func DelStudent (student int) error {
	err := dao.DelStudent(student)
	return err
}

func UpdateStudent(student models.Student) error {
	err := dao.UpdateStudent(student)
	return err
}

func AddStudent(student models.Student) error {
	err := dao.AddStudent(student)
	return err
}